package com.ruoyi.merchant.mapper;

import java.util.List;
import com.ruoyi.merchant.domain.CustomerHistoryMedical;

/**
 * 客户病史习惯Mapper接口
 * 
 * @author chengxin.ju
 * @date 2024-04-09
 */
public interface CustomerHistoryMedicalMapper 
{
    /**
     * 查询客户病史习惯
     * 
     * @param id 客户病史习惯主键
     * @return 客户病史习惯
     */
    public CustomerHistoryMedical selectCustomerHistoryMedicalById(String id);

    /**
     * 查询客户病史习惯列表
     * 
     * @param customerHistoryMedical 客户病史习惯
     * @return 客户病史习惯集合
     */
    public List<CustomerHistoryMedical> selectCustomerHistoryMedicalList(CustomerHistoryMedical customerHistoryMedical);

    /**
     * 新增客户病史习惯
     * 
     * @param customerHistoryMedical 客户病史习惯
     * @return 结果
     */
    public int insertCustomerHistoryMedical(CustomerHistoryMedical customerHistoryMedical);

    /**
     * 修改客户病史习惯
     * 
     * @param customerHistoryMedical 客户病史习惯
     * @return 结果
     */
    public int updateCustomerHistoryMedical(CustomerHistoryMedical customerHistoryMedical);

    /**
     * 删除客户病史习惯
     * 
     * @param ID 客户病史习惯主键
     * @return 结果
     */
    public int deleteCustomerHistoryMedicalByID(String ID);

    /**
     * 批量删除客户病史习惯
     * 
     * @param IDs 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerHistoryMedicalByIDs(String[] IDs);
}
